Apparatus for generating motion control signal from image signal

ABSTRACT

In order to easily generate a control signal when a motion in accordance with an image is applied to a chair for an observer, a motion vector is detected from an image signal input to an image processing apparatus by a feature information detection section. By using the motion vector, a horizontal component, a vertical component, a magnification component, and a rotation component are determined. A feature information processing section generates a control signal to be supplied to a driving section from these determined components.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to image processing.

[0003] 2. Description of the Related Art

[0004] An apparatus in which, when an observer is viewing an image, verisimilitude is improved by controlling, in accordance with the image, the motion of a chair on which the observer is sitting, is known. A motion control signal, which is supplied to such an apparatus to cause a chair to move, is generated from data obtained by a sensor for detecting an angle at the same time when an image is captured, or a motion control signal is generated through a manual operation by observing the captured image by a person and by predicting motion by that person.

[0005] In the above-described apparatus, when a motion control signal for a chair is generated by a sensor, data for generating the motion control signal must be recorded at the same time the image is captured. Therefore, it is not possible to generate a motion control signal by using an image which has already been captured. Also, when a person observes a captured image and a motion control signal is generated, a manual operation is required, presenting a problem in that processing takes a long time.

SUMMARY OF THE INVENTION

[0006] The present invention has been achieved in view of such circumstances. An object of the present invention is to provide an information processing apparatus which generates a motion control signal from an input image.

[0007] To achieve the above-mentioned object, according to a first aspect of the present invention, there is provided an information processing apparatus comprising: a motion detector for detecting a motion-related signal, which is information relating to motion, in accordance with an image signal; and a generator for generating a motion control signal in accordance with the motion-related signal.

[0008] According to a second aspect of the present invention, there is provided an information processing method comprising the steps of: detecting a motion-related signal, which is information relating to motion, in accordance with an image signal; and generating a motion control signal in accordance with the motion-related signal.

[0009] According to a third aspect of the present invention, there is provided a storage medium storing a computer-controllable program, the program comprising the steps of: detecting a motion-related signal, which is information relating to motion, in accordance with an image signal; and generating a motion control signal in accordance with the motion-related signal.

[0010] The above and further objects, aspects and novel features of the invention will become more apparent from the following detailed description when read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011]FIG. 1 is a block diagram showing the construction of an embodiment of an image processing apparatus of the present invention.

[0012]FIG. 2 is a block diagram showing the construction of a feature information detection section 11 of FIG. 1.

[0013]FIG. 3 shows a pattern stored in a memory 24 of FIG. 2.

[0014]FIG. 4 shows an image to be processed.

[0015]FIG. 5 is an illustration of a vector to be computed.

[0016]FIG. 6 is a block diagram showing the construction of a feature information processing section 12 of FIG. 1.

[0017]FIG. 7 is a side view of a driving section 3.

[0018]FIG. 8 is a view when the driving section 3 is seen from above.

DESCRIPTION OF THE PREFERRED EMBODIMENT

[0019]FIG. 1 is a block diagram showing the construction of an embodiment of an image processing apparatus of the present invention. An image signal supplied from an image tape recorder (not shown), etc., is supplied to a display section 1 and an image processing apparatus 2. The image processing apparatus 2 generates a motion control signal for driving a driving section 3.

[0020] The image processing apparatus 2 comprises a feature information detection section 11 and a feature information processing section 12. A signal input to the image processing apparatus 2 is input to the feature information detection section 11 whereby feature information (to be described later) is detected and is output to the feature information processing section 12. The feature information processing section 12 computes a motion control signal to be supplied to the driving section 3 from the input feature information. The driving section 3 drives (motion controls) a chair on which an observer who observes an image sits in accordance with the input motion control signal. This point will be described later.

[0021]FIG. 2 is a block diagram showing the construction of the feature information detection section 11. The image signal input to the feature information detection section 11 is delayed by an amount corresponding to one frame by a delay section 21, after which it is supplied to a frame buffer 22-1 and is also supplied to a frame buffer 22-2. Reading sections 23-1 and 23-2 read an image signal from the corresponding frame buffers 22-1 and 22-2 in accordance with a predetermined pattern stored in a memory 24, and output the image signal to a motion vector detection section 25.

[0022] The motion vector detection section 25 detects a motion vector from the supplied image signal and outputs the motion vector to a feature information computation section 26. The feature information computation section 26 computes feature information from the input motion vector.

[0023] Next, the operation of the feature information detection section 11 shown in FIG. 2 is described. At time t, the image signal input to the feature information detection section 11 is supplied to the delay section 21 and the frame buffer 22-2. The frame buffer 22-2 stores input image signals for one frame. Since the delay section 21 delays the image signal by an amount corresponding to one frame, at time t, an image signal at time t−1 earlier than time t, that is, an image signal one frame before that at time t, is stored in the frame buffer 22-1. The image signal at time t−1, stored in the frame 22-1, is read by the reading section 23-1, and the image signal at time t, stored in the frame buffer 22-2, is read by the reading section 23-2.

[0024] The reading sections 23-1 and 23-2 read an image signal in a portion corresponding to the pattern stored in the memory 24 from among the image signals stored in the corresponding frame buffers 22-1 and 22-2. Here, a pattern stored in the memory 24 is described with reference to FIG. 3.

[0025]FIG. 3 shows an example of a pattern stored in the memory 24. In the case of those portions of the pixels forming one frame, which are not related to motion, for example, image signals captured by a video camera mounted to an automobile, such as that shown in FIG. 4, the hood portion of the automobile is considered to be an area which is not related to motion control, and accordingly, the pixel positioned at the center of the area from which that area has been removed is denoted as a convergence point P. For example, 25 representative points Q (including the convergence point) at positions symmetrical horizontally and vertically about the convergence point P are set. For each representative point Q, a reference block B, composed of a predetermined number of pixels, with the representative point Q being positioned at the center, for example, a reference block B composed of 33×33 pixels, is set. In the memory 24, the coordinates of each representative point Q within the image plane of such a frame, the size of the reference block B, and the size of a retrieval block (not shown) composed of, for example, 65×65 pixels, are stored as a pattern.

[0026] The reading section 23-1 reads pixel data corresponding to the above-mentioned pattern stored in the memory 24, that is, pixel data within each reference block B, in accordance with the coordinates of the representative point Q and the size of the reference block B from among the image signals at time t−1 stored in the frame buffer 22-1, and outputs the pixel data, as the data of the reference block, to the motion vector detection section 25. In a similar manner, the reading section 23-2 reads pixel data corresponding to the pattern stored in the memory 24 from among the image signals at time t stored in the frame buffer 22-2, and outputs the pixel data, as the data of the retrieval block, to the motion vector detection section 25.

[0027] The motion vector detection section 25 detects the motion vector at each representative point Q by performing block matching by using the input data of the reference block and the input data of the retrieval block. Therefore, in the case of this example, 25 motion vectors are detected.

[0028] In this embodiment, there is no need to detect a motion vector with respect to all the pixels because the aim is to generate a motion control signal. Therefore, only 25 motion vectors are determined. This makes it possible to reduce the scale of the circuit and to increase the processing speed.

[0029] The feature information computation section 26 computes, based on the equations shown below, a total of four components of a horizontal component u, a vertical component v, a magnification component v_(zoom), and a rotation component v_(rot) of the motion as the entirety of the frame at time t by using the 25 motion vectors detected by the motion vector detection section 25.

Horizontal component u=(1/n) Σu_(i)   (1)

Vertical component v=(1/n) Σv_(i)   (2)

Magnification component v_(zoom)=(1/n) Σv_(zoomi) /d _(i)   (3)

Rotation component v_(rot)=(1/n) Σv_(roti) /d _(i)   (4)

[0030] where

[0031] the subscript i indicates the number affixed to the representative point Q_(i), which varies from 1 to 25 in this example, and n indicates the number of representative points, which is 25 in this example. The values obtained by equations (1) to (4) are the average value of each component u, v, v_(zoom), and v_(rot) obtained by the motion vector detection section 25.

[0032] The relationship among the above-mentioned components u, v, v_(zoom), and v_(rot) is described with reference to FIG. 5. The horizontal component of a motion vector T of a representative point Q_(i) for the object of processing is denoted as u_(i), and the vertical component is denoted as v_(i). d_(i) is a scalar quantity indicating the distance from the convergence point P to the representative point Q_(i). (Px, Py) indicates the coordinates of the convergence point P, and the distance up to the representative point Q_(i) of the coordinates (Q_(i)x, Q_(i)y) is computed with these coordinate values as a reference.

[0033] The component (u_(i), v_(i)) of this motion vector T is a component when the representative point Q_(i) is assumed to be the origin. The component in a direction parallel to the straight line which connects the convergence point P to the representative point Q_(i), of the motion vector T is denoted as v_(zoomi), and the component in a direction perpendicular to the straight line which connects the convergence point P to the representative point Q_(i) is denoted as v_(roti). Also, the angle formed between the straight line which connects the convergence point P to the representative points Q_(i) and the motion vector T is denoted as θ. At this time, v_(zoomi) and v_(roti) are determined based on the following equations.

v _(zoomi)=(u _(i) ² +v _(i) ²)^((1/2)) cosθ  (5)

v _(roti)=(u _(i) ² +v _(i) ²)^((1/2)) sinθ  (6)

[0034] Here, although the values of 25 motion vectors are used in an averaged manner in order to determine each component, each component may be weighted based on the positional relationship on the image plane.

[0035] The feature information computation section 26 computes four component data u, v, v_(zoom), and v_(rot), as feature information, by using equations (1) to (4) from the motion vector output from the motion vector detection section 25. The computed four component data u, v, v_(zoom), and v_(rot) are output to the feature information processing section 12 (FIG. 1).

[0036] Here, for example, when an observer is made to virtually experience the feeling of riding in an automobile, the types of forces (motions) which should be applied to the chair on which the observer is sitting are considered. Examples of forces applied to the chair of the automobile include a force for representing the forward-rearward inclination of the surface of the road when the automobile is running on a sloping road, such as, a grade, a force for representing vibrations in the up-and-down direction which are received from the surface of the road when the automobile is running on a bumpy road, and a force for representing the inclination in the left-right direction of the surface of the road when the automobile is running on a sloping road.

[0037] These forces are forces capable of providing a stimulus in a form in which the physical sensation is the same, to the chair of the observer who observes the image, from among the stimuli given to the automobile to which a video camera capturing the image is mounted, and are called “actual stimuli” herein. The actual stimulus is such that when the value thereof is integrated, the value becomes zero.

[0038] In contrast, a force for representing the centrifugal force when the automobile is turning on a curve, a force for representing the inertial force during acceleration and deceleration, and a force for representing the yawing of the automobile in a curve are such that the value thereof does not become zero even if the value is integrated. These are stimuli in which it is difficult to give in a form in which the physical sensation is the same as the stimuli which are given to the automobile due to limitations in the distance the chair can be moved, limitations in the movement direction, etc., and are called “simulated stimuli” herein.

[0039] The relationship among the force concerning the above-mentioned actual stimulus and the simulated stimulus, the component of the motion control signal which is actually applied to the chair for the observer, and the four components computed by the feature information computation section 26 is shown below. The motion control signal for the forward-rearward inclination of the surface of the road among the actual stimuli shown below is one of the motion control signal components “pitch” and can be represented by an amount of the low frequencies from among the components in the vertical direction of the motion vector. Here, since the inclination of the surface of the road is considered to vary in slow cycles, low-frequency components are used. The vibration received from the surface of the road is considered to be given in a vertical direction and is also considered to be at a high frequency. Therefore, for the motion control signal for the vibration received from the surface of the road, high-frequency components among the components in the vertical direction of the motion vector are used. This value is represented as a motion control signal component z.

[0040] The motion control signal for the left-right inclination of the surface of the road is one of the motion control signal components “roll”. As is clear from FIG. 5, the rotation component v_(roti) can be represented by a value such that 25 motion vectors are added together. The motion control signal for the centrifugal force in a curve is one of the motion control signal components “roll” and is represented by a horizontal component u. The motion control signal for the inertial force by acceleration and deceleration is one of the motion control signal components “pitch” and is represented by low-frequencies of the differentiated value of the magnification component v_(zoom). The reason the motion control signal is a low-frequency component is that a sensitive operation is unnecessary for acceleration and deceleration. The motion control signal for the yawing of the automobile in a curve is one of the motion control signal components “yaw” and is represented by a horizontal component u. The reason the motion control signal is −u is that the motion control signal acts in reverse to the centrifugal force in a curve. Component to Motion control Relationship be represented signal component with 4 components Actual stimulus Forward-rearward pitch Low-frequency component inclination of of Σv surface of road Vibrations received z High-frequency component from surface of road of −Σv Left-right roll −Σv_(rot) inclination of surface of road Simulated stimulus Centrifugal force roll u in curve Inertial force due pitch Low-frequency components to acceleration and of dv_(zoom)/dt deceleration Automobile yaw −u yawing in curve

[0041] The feature information processing section 12 generates a motion control signal to be supplied to the driving section 3 (FIG. 1) by using the above-described relationships. FIG. 6 is a block diagram showing the construction of the feature information processing section 12. Among the four components output from the feature information detection section 11, the rotation component v_(rot) is input to an adder 31-1, the horizontal component u is input to an adder 31-2 and a code inverter 32-1, the vertical component v is input to an adder 31-3, and the magnification component v_(zoom) is input to an adder 31-5 and a delay unit 33-3. The data output from the adder 31-1 is delayed by an amount corresponding to one clock by the delay unit 33-1, after which it is fed back and is input to the adder 31-1. In a similar manner, the data which is output from the adder 31-3 is delayed by an amount corresponding to one clock by a delay unit 33-2, after which it is fed back and is input to the adder 31-3 as well.

[0042] The data output from the delay unit 33-1 is input to the adder 31-2, and the data output from the delay unit 33-2 is output to an HPF (High-Pass Filter) 34 via a code inverter 32-2 and is also output to an adder 31-4 via an LPF (Low-Pass Filter) 35-1. The magnification component v_(zoom) which is delayed by an amount corresponding to one clock by the delay unit 33-3 is subtracted from the magnification component v_(zoom) input to an adder 31-5, and the resulting component is input to an adder 31-4 via an LPF 35-2.

[0043] Next, a description is given of the computation of the motion control signal components “roll”, “yaw”, “z”, and “pitch”, performed by the feature information processing section 12. The rotation component v_(rot) input to the feature information processing section 12 is input to the adder 31-1. The adder 31-1 adds together the rotation component v_(rot) which is input at time t and the data which is output one frame before at time t−1 from the delay unit 33-1. The adder 31-1 computes the motion control signal component “roll” (ρv_(rot)) which represents the left-right inclination of the surface of the road by accumulating (integrating) the rotation component v_(rot) in this manner. However, since the motion control signal component “roll” representing the left-right inclination of the surface of the road is −Σv_(rot), the adder 31-2 uses, for computation, data such that the code of the data input from the delay unit 33-1 is inverted.

[0044] The motion control signal component “roll” (horizontal component u) is also used to represent the centrifugal force in a curve. Accordingly, the adder 31-2 computes the motion control signal component “roll” to be supplied to the driving section 3 by adding together (subtracting the output of the delay unit 33-1 from the horizontal component u) the data such that the code of the data input from the delay unit 33-1 is inverted and the horizontal component u.

[0045] Since the motion control signal component “yaw” of the yawing of the automobile in a curve is obtained by inverting the value of the horizontal component u, the feature information processing section 12 computes the motion control signal component “yaw” by causing the code inverter 32-1 to invert the code of the value of the input horizontal component u.

[0046] The adder 31-3 adds together the vertical component v which is input at time t and the vertical component v which is output one frame before at time t−1 from the delay unit 33-2. In this manner, the vertical component v is accumulated (integrated) by the adder 31-3. Then, the data which is accumulated by the adder 31-3 and the delay unit 33-2 is input to the code inverter 32-2 whereby the code is inverted, and further, only the high-frequency components are extracted by the HPF 34. In this manner, the motion control signal component z representing the vibrations received from the surface of the road is computed.

[0047] Furthermore, the data output from the delay unit 33-2 is also output to the LPF 35-1 whereby the low-frequency components are extracted. In this manner, the motion control signal component “pitch” representing the forward-rearward inclination of the surface of the road is computed. The motion control signal component “pitch” is also used as a motion control signal component representing the inertial force by acceleration and deceleration. For this reason, the motion control signal component “pitch” output from the LPF 35-1 is added to the motion control signal component “pitch” representing the inertial force by the adder 31-4.

[0048] The motion control signal component “pitch” representing the inertial force is computed from the magnification component v_(zoom) input to the feature information processing section 12. The magnification component v_(zoom) input to the feature information processing section 12 is input to the adder 31-5 and the delay unit 33-3. A magnification component v_(zoom)t which is input at time t and a magnification component v_(zoom)t−1 which is input at time t−1, delayed by one frame by the delay unit 33-3, are input to the adder 31-5. The adder 31-5 differentiates the magnification component v_(zoom) by subtracting the magnification component v_(zoom)t−1 at time t−1 from the magnification component v_(zoom)t input at time t. Then, the LPF 35-2 extracts the low-frequency components from the value output from the adder 31-5, thereby computing the motion control signal component “pitch” representing the inertial force by acceleration and deceleration.

[0049] The adder 31-4 adds together the value output from the LPF 35-1 and the value output from the LPF 35-2, thereby computing the motion control signal component “pitch” to be supplied to the driving section 3.

[0050] An example of the driving section 3 is shown in FIGS. 7 and 8. FIG. 7 is a side view of the driving section 3. FIG. 8 is a view when the driving section 3 is seen from above. The driving section 3 comprises six pistons 41-1 to 41-6 serving as actuators, with a base 42 being supported by these pistons. The base 42 has a chair 43 fixed thereto so that an observer 44 may sit on this chair 43.

[0051] The pistons 41-1 to 41-6 are capable of extending and retracting along their central axes. As a result of the extending and retracting motion by the pistons 41-1 to 41-6, the base 42 jerks, and furthermore, the chair 43 fixed to the base 42 jerks. A signal for controlling the pistons 41-1 to 41-6 is generated and supplied by the feature information processing section 12 in a manner as described above.

[0052] Table 1 shows a specific example of the operation by the driving section 3. The upward arrow in this Table 1 indicates that the piston extends, and the downward arrow indicates that the piston retracts. TABLE 1 Actual stimulus Motion Component control to be signal represented component 41-1 41-2 41-3 41-6 41-5 41-4 Forward- Pitch Fwd ↓ Fwd ↓ Fwd ↑ Fwd ↓ Fwd ↓ Fwd ↑ rearward Rwd ↑ Rwd ↑ Rwd ↓ Rwd ↑ Rwd ↑ Rwd ↓ inclination of surface of road Vibration z ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ ↑ ↓ received from surface of road Left-right roll Left ↓ Left ↓ Left ↓ Left ↑ Left ↑ Left ↑ inclination of Right↑ Right↑ Right↑ Right↓ Right↓ Right↓ surface of road

[0053] Simulated stimulus Component to be represented A B C D E F Centrifugal roll Left ↑ Left ↑ Left ↑ Left ↓ Left ↓ Left ↓ force in curve Right↓ Right↓ Right↓ Right↑ Right↑ Right↑ Inertial force pitch Dclt ↓ Dclt ↓ Dclt ↑ Dclt ↓ Dclt ↓ Dclt ↑ due to acceleration Aclt ↑ Aclt ↑ Aclt ↓ Aclt ↑ Aclt ↑ Aclt ↓ and deceleration Yawing of yaw Left ↑ Left ↓ Left ↑ Left ↓ Left ↑ Left ↓ automobile in Right↓ Right↑ Right↓ Right↑ Right↓ Right↑ curve

[0054] As described above, in this embodiment, the motion control signal component is computed from the motion obtained from the image. This makes it possible to obviate the need to determine the motion control signal component in order to input it in advance by observing the image by a person. In addition, use of a sensor, etc., makes it possible to easily generate a motion control signal component from the image in which a motion control signal component is not generated.

[0055] Although in this embodiment a motion vector is detected, it is also possible to detect only the direction of the motion or only the quantity of the motion, depending on the application.

[0056] Although in the above-described example an example by hardware is shown, the operation of the present invention may be provided as a program which is computer-controllable software. This program may be supplied to an information processing apparatus which is controlled by a computer by using an information storage medium, such as a magnetic disk, an optical disk such as a CD-ROM, magnetic tape, etc., or by using a storage medium, such as a transmission medium utilizing a network using the Internet, a digital satellite, etc.

[0057] This program may comprise a feature information detecting step, a feature information processing step, and a driving step which perform processing which is the same as the processing performed by the feature information detection section 11, the feature information processing section 12, and the driving section 3, which is a realization example by hardware shown in FIG. 1, and these steps may be performed, for example, for each frame.

[0058] Many different embodiments of the present invention may be constructed without departing from the spirit and scope of the present invention. It should be understood that the present invention is not limited to the specific embodiment described in this specification. To the contrary, the present invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the invention as hereafter claimed. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications, equivalent structures and functions. 

What is claimed is:
 1. An information processing apparatus comprising: a motion detector for detecting a motion-related signal, which is information relating to motion, in accordance with an image signal; and a generator for generating a motion control signal in accordance with said motion-related signal.
 2. An information processing apparatus according to claim 1, wherein said motion detector detects a motion vector as said motion-related signal.
 3. An information processing apparatus according to claim 2, wherein said motion detector detects one motion vector for each block composed of a plurality of pixels at a predetermined position within a frame.
 4. An information processing apparatus according to claim 2, wherein said generator generates, as said motion control signal, a horizontal component, a vertical component, a magnification component, and a rotation component in accordance with said motion vector.
 5. An information processing apparatus according to claim 1, further comprising a driving device for driving an object in accordance with said motion control signal.
 6. An information processing apparatus according to claim 5, wherein a chair is provided as said object, and said driving device comprises an actuator for moving said chair.
 7. An information processing apparatus according to claim 6, further comprising a display device for displaying said image signal.
 8. An information processing apparatus according to claim 1, wherein said motion control signal contains a plurality of components.
 9. An information processing apparatus according to claim 1, wherein said motion detector detects said motion-related signal in accordance with a signal in a predetermined portion of the frame for said image signal.
 10. An information processing method comprising the steps of: detecting a motion-related signal, which is information relating to motion, in accordance with an image signal; and generating a motion control signal in accordance with said motion-related signal.
 11. An information processing method according to claim 10, wherein, in said motion detecting step, a motion vector is detected as said motion-related signal.
 12. An information processing method according to claim 11, wherein, in said motion detecting step, one motion vector is detected for each block composed of a plurality of pixels at a predetermined position within a frame.
 13. An information processing method according to claim 11, wherein, in said generating step, as said motion control signal, a horizontal component, a vertical component, a magnification component, and a rotation component are detected in accordance with said motion vector.
 14. An information processing method according to claim 10, further comprising a driving step for driving an object in accordance with said motion control signal.
 15. An information processing method according to claim 10, wherein said motion control signal contains a plurality of components.
 16. An information processing method according to claim 10, wherein, in said motion detecting step, said motion-related signal is detected in accordance with a signal in a predetermined portion of the frame for said image signal.
 17. A storage medium storing a computer-controllable program, said program comprising the steps of: detecting a motion-related signal, which is information relating to motion, in accordance with an image signal; and generating a motion control signal in accordance with said motion-related signal.
 18. A storage medium according to claim 17, wherein, in said motion detecting step, a motion vector is detected as said motion-related signal.
 19. A storage medium according to claim 18, wherein, in said motion detecting step, one motion vector is detected for each block composed of a plurality of pixels at a predetermined position within a frame.
 20. A storage medium according to claim 18, wherein, in said generating step, as said motion control signal, a horizontal component, a vertical component, a magnification component, and a rotation component are detected in accordance with said motion vector.
 21. A storage medium according to claim 17, said program further comprising a driving step for driving an object in accordance with said motion control signal.
 22. A storage medium according to claim 17, wherein said motion control signal contains a plurality of components.
 23. A storage medium according to claim 17, wherein, in said motion detecting step, said motion-related signal is detected in accordance with a signal in a predetermined portion of the frame for said image signal. 